package com.wsj.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.wsj.util.page.PageResultSet;
import com.wsj.web.vo.homeSite.DirectSeedClass;

public interface IDirectSeedClassDao {

public void add(DirectSeedClass directSeedClass) throws DataAccessException;
	
	public void update(DirectSeedClass directSeedClass) throws DataAccessException;
	
	public void del(DirectSeedClass directSeedClass) throws DataAccessException;
	
	public DirectSeedClass loadById(Integer id) throws DataAccessException;
	
	public DirectSeedClass loadByNameAndNameId(String lanmuname, Integer directSeedNameId) throws DataAccessException;
	
	public List<DirectSeedClass> loadByNameId(Integer directSeedNameId) throws DataAccessException;
	
	public PageResultSet loadPageList(Integer nameId,String lanmuname,Short iftj, Short shanchu, String beginDate, String endDate, Integer page, Integer pageSize) throws DataAccessException;

	public DirectSeedClass getDirectSeedClassBylanmuname(String directSeedClass_scdt)throws DataAccessException;

	public List getDirectSeedClassByParentId(Integer id)throws DataAccessException;
	
	
	
}
